<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: infinite Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">infinite Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>defines transfer struct (abi)  
</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfinite_1_1account.html">account</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">row in account table stored within each scope  <a href="structinfinite_1_1account.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structinfinite_1_1transfer.html">transfer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a178bfd89741210daf785c0d820a70fe8"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structeosio_1_1token.html">eosio::token</a>&lt; <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>, <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(currency)&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceinfinite.html#a178bfd89741210daf785c0d820a70fe8">currency_tokens</a></td></tr>
<tr class="separator:a178bfd89741210daf785c0d820a70fe8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a247d38a8fa9638b2221442d0dd932774"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceinfinite.html#a247d38a8fa9638b2221442d0dd932774">accounts</a> = <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt; <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(currency), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(currency), <a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structinfinite_1_1account.html">account</a>), <a class="el" href="structinfinite_1_1account.html">account</a>, <a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a> &gt;</td></tr>
<tr class="separator:a247d38a8fa9638b2221442d0dd932774"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aad9d2b29e0e7e5e1bb8ba2092191fb9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceinfinite.html#aad9d2b29e0e7e5e1bb8ba2092191fb9e">store_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> account_to_store, const <a class="el" href="structinfinite_1_1account.html">account</a> &amp;a)</td></tr>
<tr class="memdesc:aad9d2b29e0e7e5e1bb8ba2092191fb9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">When storing accounts, check for empty balance and remove account.  <a href="#aad9d2b29e0e7e5e1bb8ba2092191fb9e">More...</a><br /></td></tr>
<tr class="separator:aad9d2b29e0e7e5e1bb8ba2092191fb9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac579feb7c964c6e2f058f98759bd6121"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceinfinite.html#ac579feb7c964c6e2f058f98759bd6121">apply_currency_transfer</a> (const <a class="el" href="structinfinite_1_1transfer.html">infinite::transfer</a> &amp;<a class="el" href="structinfinite_1_1transfer.html">transfer</a>)</td></tr>
<tr class="separator:ac579feb7c964c6e2f058f98759bd6121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0a30f8ccb62a1a5ff5851fe0c740e39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structinfinite_1_1account.html">account</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceinfinite.html#af0a30f8ccb62a1a5ff5851fe0c740e39">get_account</a> (<a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a> owner)</td></tr>
<tr class="separator:af0a30f8ccb62a1a5ff5851fe0c740e39"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a247d38a8fa9638b2221442d0dd932774"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a247d38a8fa9638b2221442d0dd932774">&#9670;&nbsp;</a></span>accounts</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="namespaceinfinite.html#a247d38a8fa9638b2221442d0dd932774">infinite::accounts</a> = typedef <a class="el" href="structeosio_1_1table.html">eosio::table</a>&lt;<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(currency),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(currency),<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(<a class="el" href="structinfinite_1_1account.html">account</a>),<a class="el" href="structinfinite_1_1account.html">account</a>,<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a178bfd89741210daf785c0d820a70fe8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a178bfd89741210daf785c0d820a70fe8">&#9670;&nbsp;</a></span>currency_tokens</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structeosio_1_1token.html">eosio::token</a>&lt;<a class="el" href="group__types.html#gaaa5d1cd013383c889537491c3cfd9aad">uint64_t</a>,<a class="el" href="group__types.html#gaf9c1edb0e0da55ec6ba09f32f6839529">N</a>(currency)&gt; <a class="el" href="namespaceinfinite.html#a178bfd89741210daf785c0d820a70fe8">infinite::currency_tokens</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="ac579feb7c964c6e2f058f98759bd6121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac579feb7c964c6e2f058f98759bd6121">&#9670;&nbsp;</a></span>apply_currency_transfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void infinite::apply_currency_transfer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structinfinite_1_1transfer.html">infinite::transfer</a> &amp;&#160;</td>
          <td class="paramname"><em>transfer</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>token subtraction has underflow assertion</p>
<p>token addition has overflow assertion </p>

</div>
</div>
<a id="af0a30f8ccb62a1a5ff5851fe0c740e39"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0a30f8ccb62a1a5ff5851fe0c740e39">&#9670;&nbsp;</a></span>get_account()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structinfinite_1_1account.html">account</a> infinite::get_account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>owner</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>accounts information for owner is stored:</p>
<p>owner/infinite/account/account -&gt; account</p>
<p>This API is made available for 3rd parties wanting read access to the users balance. If the account doesn't exist a default constructed account will be returned. </p>
<p>scope, record </p>

</div>
</div>
<a id="aad9d2b29e0e7e5e1bb8ba2092191fb9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aad9d2b29e0e7e5e1bb8ba2092191fb9e">&#9670;&nbsp;</a></span>store_account()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void infinite::store_account </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__types.html#ga3b44deb4b3b8d6ebab339d1263692117">account_name</a>&#160;</td>
          <td class="paramname"><em>account_to_store</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structinfinite_1_1account.html">account</a> &amp;&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>value, scope</p>
<p>value, scope </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
